<?php

include_once("../modelo/ModeloModo.php");
class ControlRanking {
    public static function getlistaRanking() {
        $mRanking = new ModeloRanking();
        $arRanking = $mRanking->listaRanking();
        $_SESSION['arRanking'] = $arRanking;
    }
        public static function getlistaJugadores($idranking) {
        $mRanking = new ModeloRanking();
        $arJugadores = $mRanking->listaJugadores($idranking);
        $_SESSION['arJugadores'] = $arJugadores;
    }
}

?>